{% if alert %}
  <div class="alert alert-{{ alert[0] }} alert-dismissible">
    <button type="button" class="close" data-dismiss="alert" aria-label="Close">
        <span aria-hidden="true">&times;</span>
    </button>
    {{ alert[1] }}
  </div>
{% end %}